package wuxianshua.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import wuxianshua.dao.NoteMapper;
import wuxianshua.pojo.Note;

import java.util.List;

/**
 * Description:
 * Datetime:    2021/3/25   21:05
 * Author:   jianglei
 */
@Service
public class NoteService {
    @Autowired
    private NoteMapper noteMapper;

    public List<Note> getNote(){
        return  noteMapper.getAllNote();
    }

}